package com.zmn.uac.common.info.kuaishou;

import com.zmn.uac.common.info.AuthLoginCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 快手用户授权手机号信息
 *
 * @author Rananquan
 * @since 2022年5月16日 18点38分
 */
@Data
@ToString(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel("快手用户授权手机号信息")
public class KuaiShouAuthPhoneInfo extends AuthLoginCode implements Serializable {
    private static final long serialVersionUID = -7429789751923493570L;

    @NotNull(message = "encryptedData不能为空")
    @ApiModelProperty(value = "encryptedData", required = true)
    private String encryptedData;

    @NotNull(message = "iv不能为空")
    @ApiModelProperty(value = "iv", required = true)
    private String iv;

    @ApiModelProperty(value = "deviceId设备信息", notes = "默认为 UTF-8")
    private String deviceId;
}
